﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/1 22:22:46
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class JsonSearchHotWordList
    {

        [DataMember(Name = "keywordtype")]
        public int Keywordtype { get; set; }

        [DataMember(Name = "keyword")]
        public string Keyword { get; set; }

        [DataMember(Name = "id")]
        public int Id { get; set; }
    }

    [DataContract]
    public class JsonSearchHotWordInfo
    {
        [DataMember(Name = "hotWordsList")]
        public ObservableCollection<JsonSearchHotWordList> HotWordsList { get; set; }
    }

    [DataContract]
    public class JsonSearchHotWord
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonSearchHotWordInfo Info { get; set; }
    }
}
